Crate socketio_rs

source ·

Structs

  • A builder class for a socket.io socket. This handles setting up the client and configuring the callback, the namespace and metadata of the socket. If no namespace is specified, the default namespace / is taken. The connect method acts the build method and returns a connected Client.
  • A packet which gets sent or received during in the socket.io protocol.

Enums

  • Enumeration of all possible errors in the socket.io context.
  • An Event in socket.io could either (Message, Error) or custom.
  • An enumeration of the different Packet types in the socket.io protocol.
  • A type which represents a payload in the socket.io context. The enum is used for both representing data that’s send and data that’s received.
  • Flavor of Engine.IO transport.

Type Definitions